package com.gaga.metadata.common.enums;

/**
 * ColumnType
 **/
public enum ColumnType {

    STRING("String", "字符串"),

    NUMBER("Number", "数字"),

    BLOB("Blob", "二进制"),

    DATE("Date", "日期"),

    DATETIME("DateTime", "时间戳"),

    TIME("Time", "时间戳"),

    TEXT("Text", "富文本"),

    DECIMAL("Decimal", "小数"),

    INTEGER("Integer", "整型");

    private String code;
    private String desc;

    ColumnType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
